using System.Collections.Generic;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.ContentManagement.Records;
using SchoolPointe.RelatedContent.Models;
using Orchard;
using Orchard.ContentManagement;

namespace SchoolPointe.RelatedContent.Services
{
    public interface IRelatedContentService : IDependency
    {
        void SetRelatedItems(RelatedContentPart relatedContent, string relationshipIdentifier, List<int> contentItemIDs);
        void AddRelatedItem(RelatedContentPart relatedContent, string relationshipIdentifier, ContentItem contentItem);
        IEnumerable<ContentItemRecord> GetRelatedItems(RelatedContentPart part, RelatedContentRelationship relationship);
        IEnumerable<ContentItemRecord> GetRelatedItems(RelatedContentPart part, string relationshipIdentifier);
        void AddTemporaryRelatedItem(RelatedContentPart relatedContent, string relationshipIdentifier, ContentIdentity relatedIdentity);
    }
}